Optimal. Leaf size=31 \[ \frac{\sinh \left (a+b x^2\right ) \cosh \left (a+b x^2\right )}{4 b}-\frac{x^2}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0274584, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {5320, 2635, 8} \[ \frac{\sinh \left (a+b x^2\right ) \cosh \left (a+b x^2\right )}{4 b}-\frac{x^2}{4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5320
Rule 2635
Rule 8
Rubi steps
\begin{align*} \int x \sinh ^2\left (a+b x^2\right ) \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \sinh ^2(a+b x) \, dx,x,x^2\right )\\ &=\frac{\cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b}-\frac{1}{4} \operatorname{Subst}\left (\int 1 \, dx,x,x^2\right )\\ &=-\frac{x^2}{4}+\frac{\cosh \left (a+b x^2\right ) \sinh \left (a+b x^2\right )}{4 b}\\ \end{align*}
Mathematica [A] time = 0.0242137, size = 27, normalized size = 0.87 \[ \frac{\sinh \left (2 \left (a+b x^2\right )\right )-2 \left (a+b x^2\right )}{8 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 34, normalized size = 1.1 \begin{align*}{\frac{1}{2\,b} \left ({\frac{\cosh \left ( b{x}^{2}+a \right ) \sinh \left ( b{x}^{2}+a \right ) }{2}}-{\frac{b{x}^{2}}{2}}-{\frac{a}{2}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.13433, size = 51, normalized size = 1.65 \begin{align*} -\frac{1}{4} \, x^{2} + \frac{e^{\left (2 \, b x^{2} + 2 \, a\right )}}{16 \, b} - \frac{e^{\left (-2 \, b x^{2} - 2 \, a\right )}}{16 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.73821, size = 68, normalized size = 2.19 \begin{align*} -\frac{b x^{2} - \cosh \left (b x^{2} + a\right ) \sinh \left (b x^{2} + a\right )}{4 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.635777, size = 60, normalized size = 1.94 \begin{align*} \begin{cases} \frac{x^{2} \sinh ^{2}{\left (a + b x^{2} \right )}}{4} - \frac{x^{2} \cosh ^{2}{\left (a + b x^{2} \right )}}{4} + \frac{\sinh{\left (a + b x^{2} \right )} \cosh{\left (a + b x^{2} \right )}}{4 b} & \text{for}\: b \neq 0 \\\frac{x^{2} \sinh ^{2}{\left (a \right )}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.14653, size = 76, normalized size = 2.45 \begin{align*} -\frac{4 \, b x^{2} -{\left (2 \, e^{\left (2 \, b x^{2} + 2 \, a\right )} - 1\right )} e^{\left (-2 \, b x^{2} - 2 \, a\right )} + 4 \, a - e^{\left (2 \, b x^{2} + 2 \, a\right )}}{16 \, b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]